package com.ylsk.check.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ylsk.common.core.domain.MybatisPlusBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylsk.common.annotation.Excel;

/**
 * 检查内容对象 ins_check_item
 *
 * @author ysy
 * @date 2023-12-05
 */
@TableName("ins_check_item")
public class CheckItem extends MybatisPlusBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 检查项id */
    @TableId
    private Long checkItemId;

    /** 检查项名称 */
    @Excel(name = "检查项名称")
    private String checkItemName;

    /** 检查项名称 */
    @Excel(name = "排序")
    private int orderNumber;


    public void setCheckItemId(Long checkItemId)
    {
        this.checkItemId = checkItemId;
    }

    public Long getCheckItemId()
    {
        return checkItemId;
    }

    public void setCheckItemName(String checkItemName)
    {
        this.checkItemName = checkItemName;
    }

    public String getCheckItemName()
    {
        return checkItemName;
    }

    public int getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(int orderNumber) {
        this.orderNumber = orderNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkItemId", getCheckItemId())
            .append("checkItemName", getCheckItemName())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
